class UserGroupship < ActiveRecord::Base
  has_paper_trail :version => :paper_trail_version, :versions => :paper_trail_versions
  # attr_accessible :title, :body
  belongs_to :user, :class_name => "Admin",:foreign_key => "user_id"
  belongs_to :group
  validates_uniqueness_of :user_id, :scope => :group_id

end
